﻿namespace FlitBit.Proto
{
	/// <summary>
	///   Indicates a decoded message's result (kind)
	/// </summary>
	public enum DecodeMessageResultKind
	{
		/// <summary>
		///   None.
		/// </summary>
		None = 0,

		/// <summary>
		///   Decoding was successful.
		/// </summary>
		Success = 1,

		/// <summary>
		///   Partially decoded, needs more data.
		/// </summary>
		Partial = 2,

		/// <summary>
		///   Message was garbage.
		/// </summary>
		Garbage = 100,

		/// <summary>
		///   Indicates the endpoint should be blacklisted.
		/// </summary>
		Blacklist = 101
	}
}